AuditsDomain

class AuditsDomain : Domain

Audits domain allows investigation of page violations and possible improvements.

This API is marked as experimental in protocol definition and can change in the future.

Functions

checkContrast
Link copied to clipboard
fun checkContrast(input: CheckContrastRequest): Single<RequestResponseFrame>
Runs the contrast check for the target page.
description
Link copied to clipboard
fun description(): String
Returns domain description.
disable
Link copied to clipboard
fun disable(): Single<RequestResponseFrame>
Disables issues domain, prevents further issues from being reported to the client.
enable
Link copied to clipboard
fun enable(): Single<RequestResponseFrame>
Enables issues domain, sends the issues collected so far to the client by means of the issueAdded event.
events
Link copied to clipboard
fun events(): Flowable<Event>
Returns flowable capturing all domains events.
fun events(filter: Predicate<Event>): Flowable<Event>
Returns flowable capturing all domains events matching predicate.
fun <T : Event> events(eventClass: Class<T>): Flowable<T>
Returns flowable capturing all domain events of a given type.
fun <T : Event> events(eventClass: Class<T>, filter: Predicate<T>): Flowable<T>
Returns flowable capturing all domain events of a given type matching predicate.
getDependencies
Link copied to clipboard
open override fun getDependencies(): List<Domain>
Returns list of dependant domains that should be enabled prior to enabling this domain.
getEncodedResponse
Link copied to clipboard
fun getEncodedResponse(input: GetEncodedResponseRequest): Single<GetEncodedResponseResponse>
Returns the response body and size if it were re-encoded with the specified settings.
issueAdded
Link copied to clipboard
fun issueAdded(): Flowable<IssueAddedEvent>
Returns observable capturing all Audits.issueAdded events.
name
Link copied to clipboard
fun name(): String
Returns domain name.

Sources

jvm source
Link copied to clipboard